package com.kly.controller;

import com.kly.common.BaseResponse;
import com.kly.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author admin
 * @date 2025/3/2
 */
@RestController
@RequestMapping("/")
public class MainController {


    /**
     * 健康检查
     * @return
     */
    @GetMapping
    public BaseResponse<String> health() {
        return ResultUtils.success();
    }
}
